<%inherit file="/base.html"/>

<%def name="main_heading()">${_('Activity')}</%def>

<%def name="content()">

<table class="data-table">
	<tr>
		<th>${_('Address')}</th>
		<th>${_('User')}</th>
		<th>${_('Activity')}</th>
	</tr>
	% for visit in c.visits:
	<tr>
		<td>${visit.ipv4}</td>
		<td>${visit.user or 'anonymous'}</td>
		<td align="center">
			${visit.first_activity or '??:??:??'} - ${visit.last_activity or '??:??:??'}
		</td>
	</tr>
	% endfor
</table>

</%def>